s=0
n=0
l=0    #标记
for n in range(1,101):
    l=0
    for i in range(2,n):
        if n%i==0:
          break
        else:
         l=1
    if l==1:
      s=s+n
print(f"\n质数和为{s}")